// Name: David Andersen

using UnityEngine;
using System.Collections;

public class KaboomGUI : MonoBehaviour {
	
	public GUISkin guiSkin;
	public int score = 0;
	public GameObject controller;
	
	void Start() {
		controller = GameObject.Find("Controller");
	}

	void OnGUI() {
		GUI.skin = guiSkin;
		score = controller.GetComponent<Controller_Script>().score;
		GUI.Box(new Rect(0, 0, Screen.width, 30), "Score: " + score);
	}
}
